package com.weibo.survey.service;

import java.util.List;

import com.weibo.survey.domain.Survey;
import com.weibo.survey.domain.User;

public interface SurveyService extends BaseService<Survey> {
	Survey newSurvey(User user);
	
	List<Survey> findAllSurvey(User user);
	
	Survey getSurveyWithChildren(int id);
	
	void deleteSurvey(int id);

	void clearSurvey(int id);

	void toggleSurvey(int id);
	
	void updateLogoPhoto(int id,String logoPhoto);
}
